package aiguigu2.two;

/**
 * ClassName: ArrayExer02
 * Package: aiguigu2.two
 * Description:
 *
 * @Author ZY
 * @Create 2024/9/12 12:04
 * @Version 1.0
 */
public class ArrayExer02 {
    public static void main(String[] args) {
        //数组
        int[] arr1 = new int[10];
        byte[] arr2 = new byte[20];
       // arr1 = arr2;编译不通过，因为两种不同类型的引用变量
        System.out.println(arr1);
        System.out.println(arr2);

        int[][] arr3 = new int[3][2];
        //arr3 = arr1;编译不通过

        arr3[0] = arr1;
        System.out.println(arr3[0]);
        System.out.println(arr1);
    }
}
